#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
struct student
{
	int num;
	int age;
	char name[20];
};
int main()
{
	struct student stu[3];
	struct student* p;
	int i;
	p = stu;
	for (i = 0; i < 3; i++)
		scanf("%d%d%s", &(p+i)->num, &(p+i)->age, (p+i)->name);
	for (i = 0, p = stu; i < 3; i++)
		printf("%d %d %s\n", (p+i)->num, (p+i)->age, (p+i)->name);
	return 0;
}